//
//  JgAdsCommonDefine.h
//  JgAdsSDK
//
//  Created by Erik on 2021/9/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN



typedef NS_ENUM(NSUInteger, JgAdsLayoutType) {
    JgAdsLayoutTypeTopImage = 1, // 上图下文
    JgAdsLayoutTypeBottomImage = 2, // 上文下图
    JgAdsLayoutTypeLeftImage = 3, // 左图右文
    JgAdsLayoutTypeRightImage = 4, // 左文右图
    JgAdsLayoutTypeHorizonImage = 5, // 纯图
};
/// 插屏素材库样式
typedef NS_ENUM(NSUInteger, JgAdsInterstitialMaterialStyle) {
    /// 0：默认
    JgAdsInterstitialMaterialStyleNormal = 0,
    /// 1：信封抽拉样式 纯图
    JgAdsInterstitialMaterialStyleEnvelope = 1,
    /// 2：信封抽拉样式 图文
    JgAdsInterstitialMaterialStyleEnvelopeImageAndText = 2,
    /// 3：默认信息流
    JgAdsInterstitialMaterialStyleNativeNormal = 3,
    /// 4：二次普通
    JgAdsInterstitialMaterialStyleSecondary = 4,
    /// 5：二次信息流
    JgAdsInterstitialMaterialStyleNativeSecondary = 5,

};
/// 横幅尺寸
typedef NS_ENUM(NSUInteger, JgAdsBannerSize) {
    JgAdsBannerSize640100 = 0,
    JgAdsBannerSize600150 = 1,
    JgAdsBannerSize600260 = 2,
};

/// 支持屏幕样式
typedef NS_ENUM(NSUInteger, JgAdsAdSupportScreenType) {
    /// 0：默认 竖屏
    JgAdsAdSupportScreenTypeNormal = 0,
    /// 1：只支持横屏
    JgAdsAdSupportScreenTypeLandscape = 1,
    /// 2：支持横屏、竖屏之间切换
    JgAdsAdSupportScreenTypeAuto = 2,
};


/// 互动样式
typedef NS_ENUM(NSUInteger, JgAdsInteractType) {
    /// 0：默认
    JgAdsInteractTypeNormal = 0,
    /// 1：摇一摇
    JgAdsInteractTypeShake = 1,
    /// 2：滑一滑
    JgAdsInteractTypeFinger = 2,
    /// 3：开屏无
    JgAdsInteractTypeTap = 3,
    /// 4：擦一擦
    JgAdsInteractTypeClear = 4,
    /// 5：转动手机
    JgAdsInteractTypeTurn = 5,
    /// 6：摇一摇和多方向滑动的混合样式
    JgAdsInteractTypeSlipAndShake = 6,
};

/// 互动玩法
typedef NS_ENUM(NSUInteger, JgAdsInteractSubType) {
    /// 0：默认
    JgAdsInteractSubTypeNormal = 0,
    /// 21：向上滑动
    JgAdsInteractSubTypeTop = 21,
    /// 22：向右滑动
    JgAdsInteractSubTypeRight = 22,
    /// 23：弧形滑动
    JgAdsInteractSubTypeCurve = 23,
    /// 51：转一转
    JgAdsInteractSubTypeTurn = 51,
    /// 52：扭一扭
    JgAdsInteractSubTypeTwist = 52,
    
};


typedef NS_ENUM(NSUInteger, JgAdsRenderType) {
    JgAdsRenderTypeExpress = 1,// 模板
    JgAdsRenderTypeNative = 2 // 自渲染
};
typedef NS_ENUM(NSUInteger, JgAdsAnimateSlipDirection) {
    JgAdsAnimateSlipDirectionDefault = 0,// 默认不支持滑动
    JgAdsAnimateSlipDirectionTop = 1,// 向上滑动
    JgAdsAnimateSlipDirectionDown = 2, // 向下滑动
    JgAdsAnimateSlipDirectionLeft = 3, // 向左滑动
    JgAdsAnimateSlipDirectionRight = 4, // 向右滑动
};
typedef NS_ENUM(NSInteger,JgAdsBiddingLossReason) {
    JgAdsBiddingLossReasonLowPrice          = 1,        // 竞争力不足
    JgAdsBiddingLossReasonTimeout           = 2,        // 超时
    JgAdsBiddingLossReasonOther             = 0     // 其他
};

typedef NSString * JgAdsType NS_EXTENSIBLE_STRING_ENUM;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeOther;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeSplash;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeBanner;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeNative;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeInterstitial;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeRewardVodAd;

FOUNDATION_EXPORT JgAdsType _Nonnull const JgAdsTypeFullScrennVodAd;


typedef NSString * JgAdsStyle NS_EXTENSIBLE_STRING_ENUM;

FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleSplashNomal;/**< 普通 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleSplashCurveHot;/**< 弧形热区 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleSplash3D;/**< 裸眼3D效果 */

FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleInterstitialNomal;/**< 普通 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleInterstitialEnvelope;/**< 信封 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleInterstitialSecondary;/**< 二次 */

FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleFlowTOP_PIC_FLOW;/**< 上图下文 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleFlowBOTTOM_PIC_FLOW;/**< 上文下图 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleFlowHORIZON_PIC;/**< 横版纯图 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleFlowLEFT_PIC_FLOW;/**< 左图右文 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleFlowRIGHT_PIC_FLOW;/**< 左图右文 */

FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleBannerLEFT_PIC;/**< 左图右文 */
FOUNDATION_EXPORT JgAdsStyle _Nonnull const JgAdsStyleBannerHORIZON_PIC;/**< 横版纯图 */

// 过期提醒
#define JGDeprecated(s) __attribute__((deprecated(s)))

NS_ASSUME_NONNULL_END
